use log::LevelFilter;
use simplelog::{ConfigBuilder, SimpleLogger};

pub const WEB_ADDR: &'static str = "0.0.0.0:18830";
pub const DB_PATH: &'static str = "./vote_data.db?mode=rwc";

pub fn init() {
    let config = ConfigBuilder::new()
        .set_time_offset_to_local().unwrap()
        .build();

    SimpleLogger::init(LevelFilter::Info, config).unwrap();
}




